(function() {
  define(function(require, exports, module) {
    var Survey;
    return Survey = Backbone.Model.extend({
      init: function() {},
      list_poll: function(option) {
        var data;
        console.log(option);
        data = [
          {
            title: 'title content'
          }
        ];
        return this.notify('list', data);
      },
      create_poll: function(data) {
        return console.log(data);
      },
      update_poll: function(poll_id, data) {
        return console.log(poll_id);
      },
      publish_poll: function(poll_id) {
        return console.log(poll_id);
      },
      read_poll: function(poll_id) {
        return console.log(poll_id);
      },
      delete_poll: function(poll_id) {
        return console.log(poll_id);
      },
      submit_poll: function(poll_id, data) {
        return console.log(poll_id);
      }
    });
  });

}).call(this);
